x11: Fix wrong condition when unsetting transient-for
authorTimm Bäder <mail@baedert.org>
Tue, 19 Dec 2017 10:53:31 +0000 (11:53 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 21 Dec 2017 17:25:51 +0000 (18:25 +0100)
commit964c6f7d582eb26f4ce8c32b141639367b43622d
tree85bc89754054b3c60cf375f9ff67d6d331d073d3
parent1c3f343baf81afa4abec3c0dc3ea6b1fd25f6c6e
x11: Fix wrong condition when unsetting transient-for

Setting a new transient-for parent is only possible if the given parent
window is valid, not when it is NULL or valid.
gdk/x11/gdkwindow-x11.c